#!/usr/bin/env node
const package = require('../package.json');
const path = require('path')
const { Command } = require("commander");

const quokka = new Command('quokka');

quokka.version(package.version);

quokka
  .command('typeorm','根据数据库表生成TypeORM结构文件', {
    executableFile: path.join(__dirname, 'typeorm', 'index.js')
  })
  .command('image', '生成图片资源文件')

quokka.parse(process.agrv)